<div class="el-pagination" ng-class="{ 'is-background': background }">
  <!-- 左侧内容 -->
  <span class="el-pagination__total" ng-if="layout.includes('total')">共 {{total}} 条</span>
  <span class="el-pagination__sizes" ng-if="layout.includes('sizes')">
    <el-select options="pageSizeList" value="value" label="label" selected="pageSize" placeholder="请选择"
      on-change="handleSizeChange(selected)" size="mini">
    </el-select>
  </span>
  <button type="button" class="btn-prev" ng-disabled="currentPage === 1" ng-click="changePage(currentPage - 1)"
    ng-if="layout.includes('prev')"><i class="el-icon el-icon-arrow-left"></i></button>
  <ul class="el-pager" ng-if="layout.includes('pager')">
    <li ng-repeat="page in pages track by $index" class="number" ng-class="{
      active: page === currentPage,
      'el-icon-more': page === '...'
    }" ng-click="page !== '...' && changePage(page)">
      {{page === '...' ? '' : page}}
    </li>
  </ul>
  <button type="button" class="btn-next" ng-disabled="currentPage === pageCount" ng-click="changePage(currentPage + 1)"
    ng-if="layout.includes('next')"><i class="el-icon el-icon-arrow-right"></i></button>
  <span class="el-pagination__jump" ng-if="layout.includes('jumper')">前往<div
      class="el-input el-pagination__editor is-in-pagination">
      <input type="text" inputmode="numeric" ng-model="$parent.jumpPage" ng-model-options="{ allowInvalid: true }"
        class="el-input__inner" ng-keydown="$event.keyCode === 13 && jumpToPage()">
    </div>页</span>
</div>